<%@page import="aex.domain.Puser"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE>
<html>
<head>

<base href="<%=basePath%>">
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<!--  -->
<!--[if lt IE 9]>
<script type="text/javascript" src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>
<script type="text/javascript" src="http://libs.useso.com/js/respond.js/1.4.2/respond.min.js"></script>
<script type="text/javascript" src="http://cdn.bootcss.com/css3pie/2.0beta1/PIE_IE678.js"></script>
<![endif]-->
<!--[if IE 7]>
<link href="http://www.bootcss.com/p/font-awesome/assets/css/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 6]>
<script type="text/javascript" src="systemJs/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->

<link href="systemStyle/H-ui.css" rel="stylesheet" type="text/css" />
<link href="expandStyle/login.css" rel="stylesheet" type="text/css" />
<link href="expandStyle/aex_userPage.css" rel="stylesheet" type="text/css" />
<link href="expandStyle/index.css" rel="stylesheet" type="text/css" />


<script type="text/javascript" src="systemJs/jquery-1.8.3.min.js"></script> 
<script type="text/javascript" src="systemJs/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="systemJs/aex_admin.js"></script>


<title>${webTitle}网站管理后台</title>
</head>


<body>
 <!--导航栏-->
    
    <%
    	Puser user=(Puser)request.getSession().getAttribute("user");
    	if(user==null){
    		%>
    			<jsp:include page="/systemPage/headNavVisitor1.jsp"></jsp:include>		
    		<%
    	}else{
    		%>
				<jsp:include page="/systemPage/headNavVisitor2.jsp"></jsp:include>
    		<%
    	}
    %>


 <!--主要内容-->
  <div class="container">
    <div class="codeView">
          <form id="" action="user/puser_login.do" method="post" class="Huiform demoform">
            <div class="formRow">
              <div class="formControls">
              	 <div>用户名：</div>
                <input type="text" name="puAccount" class="input-text" tabindex="1" autocomplete="off" placeholder="帐号" datatype="*" nullmsg="请输入帐号！">
              </div>
            </div>
            <div class="formRow">
              <div class="formControls">
                <div>密码：</div>
                <input type="password" name='puPassword' class="input-text" tabindex="2" autocomplete="off" placeholder="密码" datatype="*6-18" nullmsg="请输入密码！" >
              </div>
            </div>
            <div class="formRow yzm">
					<input name='yzm' class="input_text input-big" type="text" placeholder="验证码"
						onblur="if(this.value==''){this.value='验证码'}"
						onclick="if(this.value=='验证码'){this.value='';}" value="验证码"
						style="width:150px;"> <img id="yzm"
						src="visitor/public_getYzm.do"> <a id="kanbuq"
						href="javascript:;"
						onclick="changeYzm('yzm','visitor/public_getYzm.do')">看不清，换一张</a>
				</div>
            <div class="formRow">
                <input class="btn radius btn-success btn-big"  id="login_btn" type="submit" value="登 录" >
            </div>
             <div class="formRow text-c">
               <div id="login_info"><a href="visitorPage/register.jsp">注册</a> <a href="visitorPage/recoveryPassword.jsp">忘记密码</a></div>
            </div>
            <div class="formRow text-r c-red">
               ${err }
            </div>
          </form>
        </div>
    </div>    
      <!--网站底部-->
	<jsp:include page="/systemPage/footerVisitor.jsp"></jsp:include>
<script type="text/javascript" src="js/js/h-ui.js"></script> 
<script type="text/javascript">
$("#menu_3").addClass("selected");
$(".demoform").Validform({
    tiptype:3,
})
</script>
</body> 

</html>
